package five;

/*
 *ClassName:Triangle
 *UserName:邓嘉豪
 *CreateTime:2020/9/11 12:12
 */
public class Triangle extends  Shape{
    int n;
    int m;
    @Override
    public int calArea(int n, int m) {
        int t_area = (n*m)/2;
        //System.out.println(t_area);
        return  t_area;
    }
}
